import { Alova } from '@/utils/http/alova/index';

//获取table
export function getHire(params: any) {
  return Alova.Post('/admin/hire', params);
}

export function putHire(params: any) {
  return Alova.Put('/admin/hire', params);
}

export function patchHire(params: any) {
  return Alova.Patch('/admin/hire', params);
}

export function getHireInfo(id: number) {
  return Alova.Get('/admin/hire/' + id);
}

export function deleteHire(id: number) {
  return Alova.Delete('/admin/hire/' + id);
}
